package com.misboot.document.mapper;

import com.misboot.document.bean.CommonMapper;
import com.misboot.document.model.Attachment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author zhaoxiace
 * @email zhaoxiace@zuoyo.cn
 * @date 2018-06-26 10:50:51
 */

public interface AttachmentMapper extends CommonMapper<Attachment> {

    //获取分页集
    List<Attachment> getPageSet(@Param("filterSort") String filterSort);

    Integer getListByPid(String uuid);

    Attachment getByAuuid(String uuid);

    int updateFileNameAndFileVersionAndFileStatusAndUuid(String fileName, String fileVersion, String fileStatus, String uuid);

    List<Attachment> getListByPuuid(String uuid);

    List<Attachment> getListByUuid(String uuid);

}
